import request from '@/utils/request'

// 查询创新大赛列表
export function listCnInnovation_compet(query) {
  return request({
    url: '/cnInnovation_compet/cnInnovation_compet/list',
    method: 'get',
    params: query
  })
}

// 查询创新大赛详细
export function getCnInnovation_compet(cicId) {
  return request({
    url: '/cnInnovation_compet/cnInnovation_compet/' + cicId,
    method: 'get'
  })
}

// 新增创新大赛
export function addCnInnovation_compet(data) {
  return request({
    url: '/cnInnovation_compet/cnInnovation_compet',
    method: 'post',
    data: data
  })
}

// 修改创新大赛
export function updateCnInnovation_compet(data) {
  return request({
    url: '/cnInnovation_compet/cnInnovation_compet',
    method: 'put',
    data: data
  })
}

// 删除创新大赛
export function delCnInnovation_compet(cicId) {
  return request({
    url: '/cnInnovation_compet/cnInnovation_compet/' + cicId,
    method: 'delete'
  })
}
